/*
PC端布局：
1）浮动
2）布局思路：从上到下,从外到里,div嵌套
*/

/*头部样式*/
.header {
    width: 100%;
    height: 40px;
    background-color: #333;
    line-height: 40px;
    font-size: 12px;
}

.warp {
  width: 1226px;
  margin: 0 auto;
}

.header-left {
  float: left;
}

.header-right {
  float: right;
}

.header li {
  /* 子绝父相，应用在下载APP块 */
  position: relative;
  float: left;
}

.header a {
  color: #B0B0B0;
}

.header a:hover {
  color: #fff;
}

.header span {
  color: #424242;
  margin: 0 6px;
}

/* 导航栏购物车模块 */
.cart {
  /* 子绝父相 */
  position: relative;
  width: 120px;
  background-color: #424242;
  height: 40px;
  margin-left: 25px;
  /* 设置鼠标移动到该位置时，鼠标的小手样式 */
  cursor: pointer;
}

.cart i {
  margin-right: 4px;
}

/* 鼠标悬停样式 */
.cart:hover {
  background-color: #fff;
}

/* 颜色不继承，所以这里单独设置颜色 */
.cart:hover > a {
  color: #ff6700;
}

/*
购物车、下载app思路：
1）绝对定位到正常的位置
2）隐藏
3）鼠标悬停显示
*/

/* 购物车隐藏块 */
.cart-list {
  z-index: 9;
  /* 绝对定位到固定位置，子绝父相 */
  position: absolute;
  top: 40px;
  right: 0;
  width: 316px;
  /* 购物车有一个鼠标移动到之后显示下边块级内容，有一个过度效果，
  过渡效果只产生在颜色、数值、阴影、转换。直接设置display不会产生效果，
  所以设置高度数值过渡 
  鼠标未经过时，高度设置为0，多余部分隐藏，经过时高度变换为规定高度 */
  height: 0;
  overflow: hidden;
  line-height: 100px;
  background-color: #fff;
  /* 设置阴影 */
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  transition: all .3s;
}

/* 可以设置过渡效果的属性
1.颜色
2.数值
3.阴影
4.转换（transform） 
*/

.cart:hover>.cart-list {
  height: 100px;
}

/* 下载APP隐藏快 */
.download {
  z-index: 9;
  position: absolute;
  height: 0;
  overflow: hidden;
  width: 124px;
  /* 设置定位 */
  top: 40px;
  left: 50%;
  margin-left: -62px;
  background-color: #fff;
  /* box-shadow: 水平 垂直 模糊度 模糊颜色; */
  box-shadow: 0 1px 5px #aaa;
  transition: all .3s;
}

.download img {
  height: 90px;
  width: 90px;
  margin: 18px 0 12px 0;
}

.download p{
  color: #333;
  font-size: 14px;
  line-height: 14px;
}

.header-left > li:hover >.download {
  height: 148px;
}

/* 绘制三角形 */
.triangle {
  height: 0;
  width: 0;
  border-bottom: 8px solid #fff;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  position: absolute;
  top: 32px;
  left: 50%;
  margin-left: -8px;
  display: none;
}

.header-left > li:hover > .triangle{
  display: block;
}


/* 内容白色导航栏样式 */
.nav {
  position: relative;
  height: 100px;
  width: 100%;
}

.logo {
  float: left;
  margin-top: 22px;
  width: 56px;
  height: 56px;
}

.logo img {
  width: 100%;
}

.nav-bar {
  float: left;
  width: 702px;
  height: 100px;
  line-height: 100px;
  padding-left: 172px;
}

.nav-bar > ul > li {
  float: left;
  padding: 0 10px;
}

/* 下拉列表 */
.nav-bar-list{
  z-index: 9;
  display: none;
  overflow: hidden;
  position: absolute;
  top: 100px;
  left: 0;
  height: 229px;
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 3px 4px rgba(0, 0, 0, .33);
}

.nav-bar li:hover > .nav-bar-list {
  display: block;
}

.nav-bar-list li{
  padding-top: 35px;
  float: left;
  width: 204px;
} 

.nav-img-box {
  width: 100%;
  height: 110px;
  border-right: 1px solid #e0e0e0;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.nav-bar-list ul li:last-child .nav-img-box{
  border: none;
}

.nav-bar-list p{
  line-height: 20px;
  font-size: 12px;
}

.nav-bar-list p:nth-of-type(2) {
  color: #ff6700;
}

/* 搜索框 */
.search {
  float: right;
  width: 296px;
  height: 50px;
  margin-top: 25px;
}

.search>input {
  float: left;
  height: 48px;
  width: 223px;
  border: 1px solid #e0e0e0;
  border-right: none;
  padding: 0 10px;
  /* 设置点击之后input的边框 */
  outline: none;
  transition: all .2s;
}

.search button {
  float: left;
  height: 49px;
  width: 52px;
  border: 1px solid #e0e0e0;
  background-color: #fff;
  font-size: 24px;
  transition: all .2s;
}

.search button:hover {
  background-color: #ff6700;
  border-color: #ff6700;
  color: #fff;
}

.search > input:hover, .search > input:hover + button {
  border-color: #b0b0b0;
}

/* :focus   获取焦点 */
.search > input:focus, .search > input:focus + button {
  border-color: #ff6700;
}

.search-list {
  z-index: 9;
  float: left;
  display: none;
  width: 243px;
  height: 240px;
  border: 1px solid #ff6700;
  border-top: none;
  top: 50px;
  left: 0;
}

.search-list a{
  float: left;
  top: 50px;
  display: block;
  width: 100%;
  height: 30px;
  padding: 6px 15px;
  box-sizing: border-box;
  text-align: left;
}

.search > input:focus ~ .search-list {
  display: block;
}

/* .banner部分 */
.banner{
  
  width: 100%;
  height: 460px;
}

.banner-box{
  position: relative;
}

.banner-box img {
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  height: 420px;
  width: 234px;
  padding: 20px 0;
  background-color: rgba(105, 101, 101, .6);
}

.slide > ul > li{
  height: 42px;
  line-height: 42px;
  text-align: left;
  padding-left: 30px;
}

.slide > ul > li > a {
  color: #fff;
  font-size: 14px;
}

.slide > ul > li > i{
  float: right;
  padding-right: 20px;
  color: #fff;
}

.slide > ul > li:hover {
  background-color: #ff6700;
}

.slide-list {
  display: none;
  position: absolute;
  top: 0;
  left: 234px;
  width: 992px;
  height: 456px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-left: none;
  padding-top: 2px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .18);
}

.slide > ul > li:hover > .slide-list {
  display: block;
}

.slide-list>ul {
  width: 248px;
  float: left;
}

.slide-list li {
  width: 100%;
  height: 76px;
  padding: 20px 0 20px 18px;
  box-sizing: border-box;
} 

.slide-list img {
  margin-right: 12px;
  height: 40px;
  width: 40px;
}

.slide-list span {
  font-size: 14px;
}

.slide-list li:hover span {
  color: #ff6700;
} 

.slide-list1 {
  width: 744px;
}

/* 广告部分 */
.adv {
  height: 170px;
  width: 100%;
  background-color: #fff;
  margin: 14px 0 26px;
}

.adv-aside {
  float: left;
  height: 164px;
  width: 228px;
  padding: 3px;
  background-color: #5f5750;
}

.adv-img {
  height: 170px;
  width: 316px;
  float: left;
  margin-left: 14.66px;
  transition: all .2s linear;
}

.adv-img img{
  height: 100%;
  width: 100%;
}

.adv-img:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
}

.adv-aside li {
  position: relative;
  float: left;
  width: 76px;
  height: 82px;
}

.adv-aside a {
  /* a不是块级元素，所以设置a里边的属性时，将a转换为块级元素 */
  display: block;
  color: #fff;
  /* 设置透明度 */
  opacity: .7;
  font-size: 12px;
  margin-top: 18px;
  transition: all .2s;
}

.adv-aside i {
  font-size: 24px;
  /* 将i元素抓换为块级元素，设置其padding和margin才可以生效 */
  display: block;
  margin-bottom: 4px;
}

.adv-aside a:hover {
  opacity: 1;
}

.row::after {
  position: absolute;
  left: 6px;
  bottom: 0;
  /* 插入内容 */
  content: "";
  width: 64px;
  height: 1px;
  background-color: #665e57;
}

.col::before {
  position: absolute;
  content: "";
  width: 0.5px;
  height: 64px;
  background-color: #665e57;
  right: 0;
  bottom: 6px;
}

/* 主体部分样式 */

.container {
  width: 100%;
  background-color: #f5f5f5;
  padding: 4px 0 12px;
}

/* 手机部分 */
/* 最上边广告 */
.home-banner-box {
  width: 100%;
  height: 120px;
  margin: 22px 0;
}

.title {
  color: #333;
  line-height: 58px;
  font-size: 22px;
  font-weight: 200;
  text-align: left;
}

.title>a{
  float: right;
  color: #424242;
  font-size: 16px;
  transition: all .4s;
}

.title>a:hover {
  color: #ff6700;
}

.title>a>i{
  background-color: #b0b0b0;
  color: #fff;
  border-radius: 8px;
  transition: all .4s;
}

.title>a:hover>i {
  background-color: #ff6700;
}
/* 手机主体 */
.phone-box {
  width: 100%;
  height: 614px;
}

/* 左边大屏 */
.phone-box-left {
  float: left;
  width: 234px;
  height: 614px;
  transition: all .2s linear;
}

.phone-box-left:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
  /* 变换，下右为正移动 */
  transform: translateY(-2px);
}

/* 右边小屏 */
.phone-box-right {
  float: right;
  height: 614px;
  width: 992px;
}

.items {
  float: left;
  height: 300px;
  width: 234px;
  margin: 0 0 14px 14px;
  background-color: #fff;
  transition: all .2s linear;
}

.items:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
  /* 变换，下右为正移动 */
  transform: translateY(-2px);
}

.goods-img {
  height: 160px;
  margin: 20px 0 18px 0;
}

.goods-name {
  height: 21px;
  margin-bottom: 2px;
  font-size: 14px;
}

.goods-desc {
  height: 18px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #b0b0b0;
}

.goods-price {
  color: #ff6700;
  font-size: 14px;
}

/* 家电部分 */
.ele-box {
  width: 100%;
  height: 614px;
}

.ele-left {
  float: left;
  height: 614px;
  width: 234px;
}

.ele-right {
  float: right;
  height: 614px;
  width: 992px;
}

.ele-left li {
  margin-left: 0;
}

.goods-price del {
  color: #b0b0b0;
  margin-left: 7px;
}

.items1 {
  width: 234px;
  height: 300px;
  float: left;
  margin-left: 14px;
} 

.items1 div {
  width: 234px;
  height: 143px;
  margin-bottom: 14px;
  background-color: #fff;
  transition: all .2s linear;
}

.items1 div:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
}

.items1-desc {
  float: left;
  width: 94px;
  height: 63px;
  margin: 40px 0 0 30px;
  font-size: 14px;
  text-align: left;
}

.items1-price {
  color: #ff6700;
  font-size: 12px;
}

.items1-img {
  float: left;
  width: 80px;
  margin: 32px 20px 0 0;
}

.aaa {
  text-align: center;
  line-height: 143px;
}

.items1 .aaa:hover {
  color: #ff6700;
}

/* 视频部分样式 */
.video-box {
  width: 100%;
  height: 299px;
}

.video-box li {
  float: left;
  width: 296px;
  height: 285px;
  margin: 0 0 14px 14px;
  background-color: #fff;
  transition: all .2s linear;
}

/* 清除第一个li元素的左边框 */
.video-box li:first-child {
  margin-left: 0;
}

.video-box li:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
}

.video-name {
  height: 21px;
  width: 268px;
  margin: 28px auto 6px;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-img {
  position: relative;
  width: 296px;
  height: 180px;
}

.play {
  position: absolute;
  left: 20px;
  bottom: 10px;
  width: 36px;
  height: 24px;
  border: 2px solid #fff;
  box-sizing: border-box;
  border-radius: 12px;
  transition: all .2s;
}

.play div {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
  margin: 5px auto 0;
} 

.video-box li:hover .play {
  background-color: #ff6700;
}

/* 页脚部分 */
.footer {
  background-color: #fff;
}

/* 预约维修服务 */
.footer-server {
  height: 25px;
  width: 100%;
  padding: 27px 0;
  border-bottom: 1px solid #e0e0e0;
}

.footer-server li {
  float: left;
  width: 19.8%;
  border-right: 1px solid #e0e0e0;
}

.footer-server li:last-child {
  border-right: 0;
}

.footer-server i {
  font-size: 24px;
  margin-right: 6px;
}

.footer-server li:hover a {
  color: #ff6700;
  transition: all .2s;
}

/* 帮助中心 */
.footer-links {
  width: 100%;
  height: 172.5px;
  padding: 40px 0;
}

.footer-links ul {
  float: left;
  width: 160px;
  text-align: left;
  color: #424242;
  font-size: 14px;
}

.footer-links li:first-child {
  line-height: 1.25;
  margin: -1px 0 26px;
}

.footer-links ul li {
  margin-top: 10px;
}

.footer-links li a {
  color: #757575;
  font-size: 12px;
}

.contact {
  float: right;
  width: 251px;
  height: 111px;border-left: 1px solid #e0e0e0;
  /* background-color: pink; */
}

.tel {
  font-size: 22px;
  line-height: 1;
  color: #ff6700;
  margin-bottom: 5px;
}

.time {
  font-size: 12px;
  color: #616161;
  margin-bottom: 5px;
}

.kf {
  display: block;
  width: 118px;
  height: 28px;
  line-height: 28px;
  border: 1px solid #f25807;
  margin: 0 auto;
  font-size: 12px;
  color: #ff6700;
}

.kf:hover {
  background-color: #ff6700;
  transition: all .4s;
  color: #fff;
}

.follow {
  position: relative;
  color: #616161;
  font-size: 12px;
  margin-top: 10px;
}

.follow>span {
  position: relative;
  top: 10px;
  display: inline-block;
  width: 24px;
  height: 26px;
  background-size: 100%;
  /* 鼠标移动变小手 */
  cursor: pointer;
}

.wb {
  background-image: url("../images/wb.png");
}

.wb:hover {
  background-image: url("../images/wb@2x.png");
}

.wx {
  background-image: url("../images/wx.png");
}

.wx:hover {
  background-image: url("../images/wx@2x.png");
}

.wx-img {
  position: absolute;
  top: 35px;
  left: 100px;
  width: 126px;
  display: none;
}

.wx:hover + .wx-img {
  display: block;
}


/* 最下边 */
.footer-info {
  height: 206px;
  width: 100%;
  padding: 30px 0;
}

.info-top {
  width: 100%;
  height: 157px;
}

.info-bottom {
  width: 100%;
  height: 19px;
  margin-top: 30px;
}

.info-top>img{
  float: left;
  width: 56px;
  margin-right: 10px;
}

.info-right a ,.info-right span {
  float: left;
  font-size: 12px;
  color: #757575;
}

.info-right span{
  margin: 0 3px;
}

.info-top>img{
  width: 56px;
  margin-right: 10px;
}
.info-right{
  width: 1160px;
  text-align: left;
  font-size: 12px;
  line-height: 18px;
}
.info-right>p{
  color: #b0b0b0;
}
.info-right>p:first-child>a{
  color: #757575;
}
.info-right>p:nth-child(2)>a{
  color: #b0b0b0;
}
.info-right>p>a:hover{
  color: #ff6700;
}
.info-right img{
  height: 28px;
  margin-top: 4px;
}

